<template>
	<view class="padding bg-white">
		<view class="cu-bar ">
			<view class="action">
				<text class="cuIcon-titles text-blue "></text> 我的反馈
			</view>
			<view class="action">
				<button class="cu-btn bg-blue" @click="gotoList()">查看</button>
			</view>
		</view>
		
		<view class="text-xl padding text-center">
			<text class="text-black text-bold">请选择反馈类型</text>
		</view>
		<view class="text-df solids-bottom padding-sm">
			向开发者反馈
		</view>
		<view class="cu-list menu padding-sm" >
			<view class="cu-item arrow padding-sm" @click="gotoTitle(0)">
				<view class="content ">
					<view>
						功能异常
					</view>
					<view class="text-gray text-sm">
						请向开发者反馈小程序功能异常问题。
					</view>
				</view>
			</view>
			<view class="cu-item arrow margin-top" @click="gotoContent(1)">
				<view class="content ">
					<view>
						产品建议
					</view>
					<view class="text-gray text-sm">
						请向开发者反馈您对产品的相关建议。
					</view>
				</view>
			</view>
		</view>
		<view class="text-df solids-bottom padding-sm">
			向平台投诉
		</view>
		<view class="cu-list menu padding-sm" @click="gotoTitle(2)">
			<view class="cu-item arrow padding-sm">
				<view class="content ">
					<view>
						违规举报
					</view>
					<view class="text-gray text-sm">
						若遇色情、诱导、骚扰、欺骗、恶意营销、违法犯罪等情况，可向平台举报。
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			// 跳转标题
			gotoTitle(feedbackType) {
				uni.$u.route({
					url: 'pages/mine/feedback/feedbackTitle',
					params: {
						feedbackType: feedbackType
					}
				})
			},
			
			// 跳转内容
			gotoContent(feedbackType) {
				uni.$u.route({
					url: 'pages/mine/feedback/feedbackContent',
					params: {
						feedbackType: feedbackType,
						feedbackTitle: "产品建议"
					}
				})
			},
			
			// 跳转反馈列表
			gotoList() {
				uni.$u.route({url : '/pages/mine/feedback/feedbackList'})
			},
		}
	}
</script>

<style>
	
</style>
